package com.jinyuanchun.learnjava.mapper;

import com.jinyuanchun.learnjava.dao.UserDao;
import com.jinyuanchun.learnjava.mapper.provider.UserProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.data.repository.query.Param;

public interface UserMapper {
    @SelectProvider(type = UserProvider.class,method = "findByUid")
    public UserDao findByUid(@Param("uid") String uid);
}
